﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VMC.Domain.Model.DataStructure;


namespace VMC.Domain.Model.Service.Abstract
{
    public interface IComplexDataTypeModelService : IModelService
    {
        ComplexDataTypeManagement GetList(string UserName);
        ComplexDataTypeManagement GetCreateModel();
        bool Create(AddEditComplexDataType Model);
        ComplexDataTypeManagement GetUpdateModel(int ID);
        bool Update(AddEditComplexDataType Model);
        ComplexDataTypeManagement GetCurrentModel(AddEditComplexDataType Model);
        bool Delete(int ID);
        string UserName { get; set; }
        ComplexDataTypeManagement GetColumnsForEditing(int ID, string UserName);
        bool UpdateColumnOrder(int ComplexDataTypeID, int ColumnID, int UpdatedOrder);
        bool AddBasicDataTypeColumn(AddEditComplexDataTypeColumn Model);
        bool UpdateBasicDataTypeColumn(AddEditComplexDataTypeColumn Model);
        bool DeleteBasicDataTypeColumn(int ID);
        void RefreshColumnOrder(int ID);
        ComplexDataTypeManagement GetUpdateColumnModel(int id, string UserName);
    }
}
